SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 63026: Solution values are incorrect when resid.y or the %MA macro is specified in PROC MODEL

DetailsAboutRate It

When the following conditions are met in the MODEL procedure:

  • a resid.y term appears in the model equation or the %MA macro is used
  • a SOLVE statement is specified

the solution values are incorrect.

To circumvent the problem, replace any resid.y term with (pred.y-actual.y) in the equation and specify the moving average model using zlag(pred.y-actual.y). Do not use the %MA macro.

Here is an example of an MA(2) model using zlag(pred.y-actual.y) specification:

proc model data=yourdata;
   parms a b ma1 ma2;
   y = a + b * x + ma1 * zlag1(pred.y-actual.y) + ma2 * zlag2(pred.y-actual.y);
   fit y; 
  solve y /out = outs ;
run;
 


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ETSz/OS9.215.19.2 TS2M29.4 TS1M6
Microsoft® Windows® for 64-Bit Itanium-based Systems9.29.2 TS2M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.29.2 TS2M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.29.2 TS2M2
Microsoft Windows XP 64-bit Edition9.29.2 TS2M2
Microsoft® Windows® for x649.215.19.2 TS2M29.4 TS1M6
Microsoft Windows Server 2003 Datacenter Edition9.29.2 TS2M2
Microsoft Windows Server 2003 Enterprise Edition9.29.2 TS2M2
Microsoft Windows Server 2003 Standard Edition9.29.2 TS2M2
Microsoft Windows Server 2003 for x649.29.2 TS2M2
Microsoft Windows Server 20089.29.2 TS2M2
Microsoft Windows Server 2008 R29.29.2 TS2M2
Microsoft Windows Server 2008 for x649.29.2 TS2M2
Microsoft Windows XP Professional9.29.2 TS2M2
Windows 7 Enterprise 32 bit9.215.19.2 TS2M29.4 TS1M6
Windows 7 Enterprise x649.215.19.2 TS2M29.4 TS1M6
Windows 7 Home Premium 32 bit9.215.19.2 TS2M29.4 TS1M6
Windows 7 Home Premium x649.215.19.2 TS2M29.4 TS1M6
Windows 7 Professional 32 bit9.215.19.2 TS2M29.4 TS1M6
Windows 7 Professional x649.215.19.2 TS2M29.4 TS1M6
Windows 7 Ultimate 32 bit9.215.19.2 TS2M29.4 TS1M6
Windows 7 Ultimate x649.215.19.2 TS2M29.4 TS1M6
Windows Vista9.29.2 TS2M2
Windows Vista for x649.29.2 TS2M2
64-bit Enabled AIX9.215.19.2 TS2M29.4 TS1M6
64-bit Enabled HP-UX9.215.19.2 TS2M29.4 TS1M6
64-bit Enabled Solaris9.215.19.2 TS2M29.4 TS1M6
HP-UX IPF9.215.19.2 TS2M29.4 TS1M6
Linux9.215.19.2 TS2M29.4 TS1M6
Linux for x649.215.19.2 TS2M29.4 TS1M6
OpenVMS on HP Integrity9.215.19.2 TS2M29.4 TS1M6
Solaris for x649.215.19.2 TS2M29.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.